package top.huhuiyu.springboot2.study.service;

import top.huhuiyu.springboot2.study.entity.joke.NewsDetail;
import top.huhuiyu.springboot2.study.entity.joke.NewsList;
import top.huhuiyu.springboot2.study.entity.joke.NewsType;

import java.util.List;

/**
 * @author 胡辉煜
 */
public interface NewsApiService {
  NewsType getNewsType();

  List<NewsList> getNewsList(NewsType newsType);

  List<NewsDetail> getNewsDetail(List<NewsList> list);

  int saveNews();
}
